﻿using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
using Microsoft.Xna.Framework.Net;
using Microsoft.Xna.Framework.Storage;
using System.Xml;

namespace GameBanChim_Version1
{
    public class GlobalVariables
    {
        // thuộc tính preMouseState để ktra trạng thái chuột trước khi click
        private static MouseState _preMouseState;

        public static MouseState PreMouseState
        {
            get { return GlobalVariables._preMouseState; }
            set { GlobalVariables._preMouseState = value; }
        }

        private static MouseState _curMouseState;

        public static MouseState CurMouseState
        {
            get { return GlobalVariables._curMouseState; }
            set { GlobalVariables._curMouseState = value; }
        }

        // thông tin người chơi Player
        private static Player _gamePlayer;

        public static Player GamePlayer
        {
            get { return GlobalVariables._gamePlayer; }
            set { GlobalVariables._gamePlayer = value; }
        }
    }
}
